package com.ld.wms.business.user.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.io.Serializable;

/**
 * <p>
 * 用户关联角色表
 * </p>
 *
 * @author wangfeng
 * @since 2024-04-12
 */
@Data
@TableName("user_account_role")
@Schema(description = "用户关联角色表")
public class UserAccountRoleModel implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    private Long userAccountId;

    private Long roleId;


    public static final String ID = "id";

    public static final String USER_ACCOUNT_ID = "user_account_id";

    public static final String ROLE_ID = "role_id";

}
